<div class="bjui-pageHeader">
<form id="pagerForm" data-toggle="ajaxsearch" action="../Ccar/__URL__" method="post">
	
	<input type="hidden" name="pageSize" value="{$numPerPage}">
    <input type="hidden" name="pageCurrent" value="{$_REQUEST['pageNum']|default=1}">
	 
        <div class="bjui-searchBar">
            <label>关键词：</label><input type="text" value="{$_REQUEST['keys']}" name="keys" class="form-control" size="15" />
             <button type="submit"  class="btn-default" data-icon="search">查询</button>
              <a class="btn btn-orange" href="javascript:;" onclick="$(this).navtab('reloadForm', true);" data-icon="undo">清空查询</a>
			  <span <php>echo display(CONTROLLER_NAME.'/del');</php> style="float:right;" ><a href="__URL__/del/navTabId/{:CONTROLLER_NAME}" class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要清理吗？" data-icon="remove">清理</a></span> 
			  <span <php>echo display(CONTROLLER_NAME.'/outxls');</php> style="float:right;margin-right:20px;"><a href="../Ccar/__URL__/outxls" class="btn btn-blue" data-toggle="doexport" data-confirm-msg="确定要导出吗？" data-icon="arrow-up">导出</a></span>
			  <span <php>echo display(CONTROLLER_NAME.'/add');</php> style="float:right;margin-right:20px;"><a href="__URL__/add/navTabId/{:CONTROLLER_NAME}" class="btn btn-green" data-toggle="dialog" data-width="900" data-height="500" data-id="dialog-mask" data-mask="true" data-icon="plus">新增</a></span>
		</div> 
</form>
    
</div>
<div class="bjui-pageContent">
     <table data-toggle="tablefixed" data-width="100%" data-layout-h="0" data-nowrap="true">
        <thead>
            <tr>
            <th data-order-direction='desc' data-order-field='id'>ID</th>
            <th data-order-direction='desc' data-order-field='card_number'>会员卡号</th>
            <th data-order-direction='desc' data-order-field='name'>姓名</th>
            <th data-order-direction='desc' data-order-field='idcard'>身份证号</th>
            <th data-order-direction='desc' data-order-field='telphone'>手机</th>
            <th data-order-direction='desc' data-order-field='car_number'>车牌号码</th>
            <th data-order-direction='desc' data-order-field='category'>卡类别</th>
            <th data-order-direction='desc' data-order-field='belong'>分布</th>
            <th>详细</th>
		    <th <php>echo display(CONTROLLER_NAME.'/del');</php> >状态</th>
		    <th <php>echo display(CONTROLLER_NAME.'/edit');</php> >编辑</th>
            </tr>
        </thead>
        <tbody>
  <volist id="v" name="list">
          <tr>
			<td>{$v.id}</td>
			<td>{$v.card_number|substr=###,0,50}</td>
			<td>{$v.name|substr=###,0,50}</td>
            <td>{$v.idcard|substr=###,0,50}</td>
			<td>{$v.telphone|msubstr=###,0,50}</td>
            <td>{$v.car_number|substr=###,0,50}</td>
            <td>{$v.category|substr=###,0,50}</td>
            <td>{$v.belong|substr=###,0,50}</td>
			<td><a href="__URL__/view/id/{$v['id']}/navTabId/{:CONTROLLER_NAME}"  data-toggle="dialog" data-width="900" data-height="500" data-id="dialog-mask" data-mask="true" >详细</a></td>
			<td <php>echo display(CONTROLLER_NAME.'/del');</php> ><a href="__URL__/del/id/{$v['id']}/navTabId/{:CONTROLLER_NAME}" data-toggle="doajax"   data-confirm-msg="确定要删除吗？" >删除标记<if condition="$v.status EQ 1 "><img src="__PUBLIC__/images/ok.gif" border="0"/><else/><img src="__PUBLIC__/images/locked.gif" border="0"/></if></a></td>
		   	<td <php>echo display(CONTROLLER_NAME.'/edit');</php> > <a href="__URL__/edit/id/{$v['id']}/navTabId/{:CONTROLLER_NAME}"   class="btn btn-green btn-sm" data-toggle="dialog" data-width="1200" data-height="700" data-id="dialog-mask" data-mask="true" >编辑</a></td>
		   	</td>
         </tr> 
          </volist>
        </tbody>
    </table>
    <div class="bjui-footBar">
        <div class="pages">
            <span>共 {$totalCount} 条  每页 {$numPerPage} 条</span>
        </div>
	    <div class="pagination-box" data-toggle="pagination" data-total="{$totalCount}" data-page-size="{$numPerPage}" data-page-current="{$currentPage}">
        </div>
    </div>
</div>